adding test for where; adding the ability to use paths in where statements