Add db:test:prepare, which emulates Railtie implementation.