Wrote end2end test for game engine.