fix for test.js