fix #dns & #ip_address access to @attributes
fix breaking travis CI by sorting array
DeploymentFile.reconstruct_from_deployment_file unit test