 
                 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]]? = mapper.optionalFrom(field)
 
                         expect(convertibleDictionary?.values.count) == value.count

                it("should map correctly") {
                    let expectedValue = [""]
                    let dict: NSDictionary = ["convertibleArrayProperty" : expectedValue]
                    let mapper = KeyedMapper(JSON: dict, type: Model.self)
                    let convertibleArray: [ConvertibleObject]? = mapper.optionalFrom(.convertibleArrayProperty)
                    
                    expect(convertibleArray).toNot(beNil())

                it("should throw a typeMismatch error") {
                    let value: NSDictionary = [:]
                    let dict: NSDictionary = ["convertibleArrayProperty" : value]
                    let mapper = KeyedMapper(JSON: dict, type: ModelWithArrayProperty.self)
                    let field = ModelWithArrayProperty.Key.convertibleArrayProperty
                    
                    do {
                        let _: [ConvertibleObject] = try mapper.from(field)
                    } catch let error as MapperError {
                        expect(error) == MapperError.typeMismatch(field: field.stringValue, forType: ModelWithArrayProperty.self, value: value, expectedType: [Any].self)
                    } catch {
                        XCTFail("Error thrown from from<T: Convertible> -> [T] was not a MapperError")
                    }
