making test more stable, added more logging