Create methods to generate stubs, refactor tests to use them