make sure unregisterSink works