test servlet refactor + logging