Changed config (removed comments); added tests for date range query