tests: add custom handler tests