test: fix logging test