add test case and process signal condition