Making test async