with test logging