better check if 'IS NOT' or '!=' should be used
added tests for postgres and sqlite
set the right context for postgres tests
Merge pull request #1231 from unlooped/master

better check if 'IS NOT' or '!=' should be used