Added tests with JSON and SPARK. Moved DB tests to a test folder.
Added description about how to test the code to README.md