added install.js tests, fixes #10