Factory improvements

Added methods for creating charms, services and units to the testing factory.
how about the series and jobs here not matching the default values.