Fix some of the failing python3 tests: Should use self._db as argument f...

Fix some of the failing python3 tests: Should use self._db as argument for the database in use!

Sorry about the mistake there!