adding test covering the validate patch tool