#195 added more tests
- resolves #210
#218 resolved. added flexible time frames.
#195 additional tests for query timeframes