Migrate unit tests to rspec (to be able to disable them in self-registration per mail).
Stubb settings values in spec instead of persisting them.