use testmoodle insted of soasmoodle to write resultfiles.txt