parse definitions from test file