Fixed and tested General-Case flipping.

New test file: change position with 'test_attacker' and 'test_defender'