Add more tests for invalid operands