allow custom response class; working on updated tests