Remove error throwing tests and replace with enum single-value test.