Reworking structure of TestList file and interaction with text file