moved test related methods from IOUtil to TestreportsReader