changed logging in tests