Remove test handled by integration tests
PEP8
Move standard query integration tests to repository
PEP8
Add query handlers for Period and Grouped queries