Add -testMode flag for tests. Consider supply and demand levels