DB config updated to use in-memory adapter for test and travis env.