(#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) Patch ldb to prefix temp tests directory