adds tests for Signal listener call order