Added unit tests for mlg.filter.