Add logs in tests