Added testing for --filter and merge-file features.