better log output in test