improve robustness of test for comment filters