type-cast input to XCTAssertEqual. refs #1
clean. refs #1