tests on logging