Writing test log