adapted spec to new logger output