cleaned up test.js