[tests] Modified watcher script and pendulumBase to match travisCI phpunit behaviour