FlipHorizontal/FlipVertical + tests.