added end-game tests