Add test for GH #8