Add some testcases for andnot/except