Func test correct error message & automatic deployment script