featurizing script for test cases, to be included in predict.sh