remove generated and obsolete files
fix and add tests for parameter filtering