Element first tests, replacing .content by .toString