Added unit test framework for handlers