 
                 context("when all of the dictionary values can be cast to NSArrays") {
                     it("should return the correctly converted objects") {
-                        let field = Model.Key.convertibleDictionaryProperty
+                        let field = ModelWithDictionaryProperty.Key.convertibleDictionaryProperty
                         let value: NSDictionary = ["" : [""]]
                         let dict: NSDictionary = [field.stringValue : value]
-                        let mapper = KeyedMapper(JSON: dict, type: Model.self)
+                        let mapper = KeyedMapper(JSON: dict, type: ModelWithDictionaryProperty.self)
                         let convertibleDictionary: [ConvertibleObject : [ConvertibleObject]] = try! mapper.from(field)
 
                         expect(convertibleDictionary.values.count) == value.count

                it("should return a nil") {
                    let value: NSArray = []
                    let dict: NSDictionary = ["convertibleDictionaryProperty" : value]
                    let mapper = KeyedMapper(JSON: dict, type: Model.self)
                    let field = Model.Key.convertibleDictionaryProperty
                    let convertibleDictionary: [ConvertibleObject : [ConvertibleObject]]? = mapper.optionalFrom(field)

                    expect(convertibleDictionary).to(beNil())

            context("when the value cannot be casted to an array of Any") {
                it("should return nil") {
                    let dict: NSDictionary = ["convertibleArrayProperty" : [:]]
                    let mapper = KeyedMapper(JSON: dict, type: ModelWithArrayProperty.self)
                    let convertibleArray: [ConvertibleObject]? = mapper.optionalFrom(.convertibleArrayProperty)
                    
                    expect(convertibleArray).to(beNil())
