(#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
(#1245) Temp dir prefix in local test db names