Re-implement WithInitTestMixin as a test factory