Add Test for where clauses