init should be after the engine is added to the database

@ehazlett this is a fix for the bug that is breaking the tests for me when I have a clean database