Add mock signals.cpp for test suite.