     }
     
     func testSetBottom() {
-        let width: CGFloat = 10.0
-        let height: CGFloat = 20.0
         let newBottom: CGFloat = 50.0
-        
-        let view = UIView(frame: CGRectMake(0.0, 0.0, width, height))
         view.bottom = newBottom
         
         XCTAssertEqual(view.bottom, newBottom, "bottom is not as expected")

    }
    
    func testSetCenterY() {
        let width: CGFloat = 10.0
        let height: CGFloat = 20.0
        let newCenterY: CGFloat = 50.0
        
        let view = UIView(frame: CGRectMake(0.0, 0.0, width, height))
        view.centerY = newCenterY
        
        XCTAssertEqual(view.centerY, newCenterY, "centerY is not as expected")

import XCTest
import FazeKit

class UIViewAdditionsTests: XCTestCase {
    let width: CGFloat = 10.0
    let height: CGFloat = 20.0
    var view: UIView = UIView()
    
    override func setUp() {
        super.setUp()
        // Put setup code here. This method is called before the invocation of each test method in the class.
        view = UIView(frame: CGRectMake(0.0, 0.0, width, height))
    }
    
    override func tearDown() {
