Adds unit tests for Disconnector

could do, we should add a checkstyle rule for it as well