add @cabanier's test from #797 to the updated style