Add validation routine to the insert method
Bump groovy version up to 2.3