added initial unittest for signal subscription