Small bug fix in the irods api tests