Tweaking plot test to deal with rotations