Add some tests in where clauses