Script to run test cases in samples automatically