Setting up factories for testing the package manager service [#6]