Updated comparison tests and fixed bug in NOT MATCH assertion