Fixed failing tests after adding audit log