timeout and iterative testing feature addition + script modifed to support recent structural changes in codebase + test cases added