Added data cleaning and error handling for co-int test