add a new test about the observer pattern