Add unittests for signalling