Add test that confirms bug #20