refactored LogSubscriber test