Adding regression tests.

Currently coverings for datastore.

@rakyll if the approach is ok I'll add to the README instructions on how to run the tests (basically configuring the export variables in run_regression_tests.sh) and I will add the tests to our build.
There tests are not running one by one. So, there is a race condition here and through the file.