Added new exception for file errors; Added DeployHistory tests