Adds unit tests for Disconnector

Please change this, it hurt to write it