Changed findLatestDeploymentHistory by date Test