Refactored mock generator test fixtures.