TestApp and log fix