Replaced XCTAssertEqual with XCTAssertEqualObjects

The correct assertion to use when comparing objects is `XCTAssertEqualObjects`, which uses the `isEqual:`. This change will make the test failure messages clearer.
Merge pull request #1317 from cezarcp/bob_test_assertions

Replaced XCTAssertEqual with XCTAssertEqualObjects