moved temporary directories for testing under tmp/test for better cleaning