Add tests for signals