Tests: Persistence test mixin fix

* The _get_connection method of PersistenceTestMixin
  should take `self` as the first argument.

Change-Id: Ibaaa0d54b408d5e37c6349c63becef919d02fac8