adds test for: nil, invert, and ==