add delay option in express server test