Add test that exposes reversal bug