Implement a part of transform filter and implemented some test for it