The factory is here
Now the tests work