         
         var data = FastCoder.dataWithRootObject(aObj)
         
-        var bObj = FastCoder.objectWithData(data) as! Block
-        
-        XCTAssertTrue(data.length == 149, "wrong size")
-        //XCTAssertTrue(aObj.dateValue!.isEqual(bObj.dateValue) , "")
-        println("Property encoding size is: \(data.length)")
+        if data != nil {
+            var bObj = FastCoder.objectWithData(data!) as! Block
+            
+            XCTAssertTrue(data!.length == 103, "wrong size")  // 149 -> 103
+            //XCTAssertTrue(aObj.dateValue!.isEqual(bObj.dateValue) , "")
+            println("Property encoding size is: \(data!.length)")
+        } else {
+            XCTFail("Data is nil")
+        }
     }
     
     func testFastCodingTestClass() {

        var data = FastCoder.dataWithRootObject(aObj)
        //var bObj = FastCoder.objectWithData(data) as Node
        
        XCTAssertTrue(data.length == 240, "wrong size")
        println("Node encoding size is: \(data.length)")
    }
    
    func testCodingProperty1() {

        var data = FastCoder.dataWithRootObject(obj)
        //var bObj = FastCoder.objectWithData(data) as Node
        
        //XCTAssertTrue(data!.length == 47, "wrong size")
        println("Node encoding size is: \(data!.length)")
    }
    
    func testEmptyClassFastCoding() {
