progress in tests from phantomjs, works in script but it doesn't work from a groovytestcase