Bugfixes for component:removeIn/Output. Added test case for circuit inout components