Test API: support for HTTP path handlers