Change factories to use Alchemy configuration.

The test for when default language is not configured is a little bit hacky but any other way seemed to be fake!

Fixes #669.