All tests for basic functionality, query extension implemented but not
tested.