unit test registry package
cleanup assignment of handler to endpoint instance