Refactor test_is_winning_diagonal