Use hex literals and fixed assert statement.

The crash went away. I don’t know if it was caused by XCTAssertTrue
returning false (dealing with an NSString?) or the hex literals. Result
is still incorrect.