Fixed test output logging