preprocessor: do not filter by extension if type.src option is defined. Add tests.