Extract data from test file