Add test for issue 82.