Add memory check to the signal test