Moved genTest.js to test.js and updated test.js to properly use Dictionary to get a random word.