Automatic test and deploy tool for imgtl