script to parse test data