run test with 'make test'
implemented subscriber garbage collection