(#1245) Change current directory for node tests

Instead of the temporary databases being created in the repository
cluttering the local package, tests are run in tmp/testsData