game.js unit tests