Fixed bad password test
Added disconnect on destruct