Refactor tests regarding configuration of master&slave recipes

shared_examples_for the win.

Haven't actually run the tests regarding source based recipes as they
take about 25 minutes each to set up. I'll get around tomorrow though.