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/.

Signed-off-by: Rohan Jain <crodjer@gmail.com>