Add wrapping of where clause to adapter findQuery

- Wrap the passed in query in a { where: } if not already wrapped
- Add a whole new test for the case without passing a where