Added test to where and where_i