Testing Framework for Trading Strategies