Add test coverage for signal command