Adapted gameTest to new code