Added test suite for selection filter.
Added compare and save mime data function in testutils.
Added test for dynamic filtering.