Scripts and routines to filter and store test data