(maint) Fix mock stubs

This didn't work the way I expected it to at all. I've added an
explicit requirement for puppetlabs-stdlib so I can use the
capitalize() function when changing the mock settings instead.