localhost -> 0
Register nodes synchronously
Clean up some test cases
Create test-directory
Refactor and add path variables
Fix load-paths
Remove quotes in shell command