add deleting of rows relating to a game in case part of insert fails and clean up tests