Wrote tests. Queries work.