permissions for node, and fixes for other tests and functional tests