Handle strangely defined tool tests when setting metadata in tool shed repositories.