Fix test op for object equality and order #39

Fixes #39

Also, faster than previous implementation