Change XCTAssertEqual to XCTAssertEqualObjects.

The Objective-C unit tests are testing object equality
in a dictionary, which returns objects of type 'id'.
XCTAssertEqual checks against C-scalars, not objects.