added testing libraries
added basic unit tests for filter