add service activity event registration using a service instance, add test for service failure, add example
0.0.4