add example unit and acceptance tests