Add test for issue 160