Fix minesweeper test to use assertRaisesRegex instead of context style test