add Object#to_hash
add missing method identifiers to tests