Added some unit tests for purifier filter