add signal test code