Corrected WHERE scalar testcases