Adds cast to XCTAssertEqual tests for Travis error