Add tests for debug logger