nil is only allowed as an operand to == and !=
Test typespecs and API