added end game tests