Test signals on two classes in the same hierarchy