[test] Add tests on the condition that filering the data of defunct servers is enabled.

The added tests are all pending, because they fail. Now I fix
these problems.