test for handler written