test custom handler configuration