refactored a bit of the chessgame tests