Found out having the game logic in document ready was interfering with tests - fixed