Added tests for CreateAndRedirectToEditView