RF: delete unused test helper function