Test start and check code snippet added to script