implement the subscription supervisor, class and tests