fixed requirement in test.js