Fixes #60. Should initialize and rewrite config before rails tests.

I think this fixes the test config cache issues i was seeing. This makes the tests pass again anyway...