wrote test and predict scripts. predict script has issues. also, there is an issue with an invalid data element