created mock observer for tests