maint: stub out puppet during tests and add base class test