tests: fix two issues with the dbusmock templates
Once https://github.com/martinpitt/python-dbusmock/pull/120 is merged the tests should succeed again
Once https://github.com/martinpitt/python-dbusmock/pull/120 is merged the tests should succeed again