Added Observer pattern tests