add means of testing classes
allow stubbing puppet functions