Fixed RealmSwift tests by sometimes using XCTAssert instead of XCTAssertEqual

This is a bug in XCTest, not Realm. @alazier 
This test *should* be commented out since it fails due to rdar://17735684.