tester refactored & handle removed files

abort test if a referred file is removed

reworked main promise flow
moved code from runner to index.ts
moved code from runner to print.ts
added logic to handle file removal to index.ts
expanded state in index.ts
dropped property File::formatName