Stricter equality test