test log at the end