Add test for issue 726