Fix unit tests for NameConventionFilter