tests for == and !=
supports == and != comparison