DbManager tests work with context