Improved backtesting broker testcases.