add JUnit tests for StockTicker