Packagekit bridge tests

Javi, here are the unit tests.