Add the Deployment record type plus tests