(#2779) - test for deleted docs

turned #2779 into an actual test