tests, mocks, object/dynamic method patches for pwrecovery.py GET