Moving more code to G::W::Repository
More tests