date queries: light style changes
add some failing tests for date queries