Redundant test case being generated (and removed)