Fixing ref to test.js