Stubbing methods so that they return custom answers