XD-1788: validate deployment properties

This parses the props higher up in the architecture and validates them before actually preforming the deployment
what's with all the extra whitespace in these test methods?