Updated tests to the new interface of ```openquake.engine.db.models.SiteCollection```

I am reopening this pull requests for a trivial fix.