Edited up the test script to allow testing from different iRODS directories
and resources, did some work on the adaptor