Can you split this into several different tests, one for each case being exercised?