Added game deletion to API and refactored tests.