critical functionality testing example