Add where query as string test

- Add new test for passing where query as string
- Fix missing semi-colon in adapter-test.