Testing StockObserver