dataaccess: Make our mysqli mocks compatible with phpunit.