[fedocal] master: Switch the tests to use an in memory database and fix self.session (e390e65)