Add SimulateComponentException and class level test case, clean up functional test case