Cost test and test all files