added unit tests for mod_compare (input and output filters)