testing logging functionality