refractored edit and create tests for CustomactivityCedSpec