add a test case for multiple handlers