tests: cover connect(), disconnect(), provide(), remove()