Add toHash
Make sure the implicit this pointer is not referenced in the tests