I would like to extract specific words from a txt file into the spreadsheet

Look for the line that start with “test”, and once detected
Extract the next word besides “test” and place it onto column A of sheet 1
Take a look at the image below:
http://www.iimmgg.com/image/5008a60a...eaba709f2806bf

The final outcome will look something like the image below:
http://www.iimmgg.com/image/3057f59b...2aff3a17c81e58

I have attached a sample txt file to extract
I have also attached a sample workbook
Sheet 1 contains a button to insert the codes and it also shows how the data looks like once extracted.
test.zip