Added date tests to basic-querying to ensure client encoding is applied ...

...to queries as well as data.  At least the client driver for rethinkdb was exhibiting broken behavior when dates were queried, even though all tests were passing previously.