Added test for "where" field