Fixed test Cases
StockManager tests were failing due to StockManager extending the Application class, and not being instantiated correctly in the StockManagerTest
i'm not entirely sure why StockManager extends application as is seems like a hacky way to have global state