Some changes to make the Recipe GUI testable