Add test to cover phatboyg/Magnum#22