Revert "Don't run the database initalizer in test env."

This reverts commit 31425ad92fd82ccaf4f4f008aaca03f1cc7e61f5.