Fix test op for object equality and order #39

Fixes #39 

About comparing to ```undefined``` in my PR it returns true for retro-compatibility but I think it should return false.
See discussion on #36