added unit testing example