Added a few test cases, implemented TradingAlgorithmTest, changed
TradingAlgorithm (does not yet pass)