Enable users to specify custom titles based on certain fields

I'd make this two tests, one for each failure case. The test title should probably be more detailed.