test/grammar - add inequality tests using '!=' and NOT

Mainly trying to kick Travis CI to run a test.