Rewrite signal test