refactored valid values used in DisposeControllerSpec to helper