Test Units for observer pattern