Add a non-map generic factory test that behaves as it should.