added a test implementation of handler