Add delay in server test