functionality testing example