handler class & unit test