tests: PhpManualFiltersTest added + small refactoring