Add test for #65499