DRW interview question

How to design a backtest system.