fixed test broken by recent api cleanup