RAT-228: Fix broken Ant integration tests Make tests more deterministic and fix matcher setup. Thanks to Romain Manni-Bucau