fix unit test case for active interlock