test cases for signals.script