fix bug in acceptance test helper.