Removed duplication in setting up games for tests