refactor test game test file