unregistering a handler + test
Fix scaladoc