fixed bugs in params.require & in setup for test code involving person_type (change of subscriber type to sub type)