fix local unittests

move the creation of the irods_config into
the if-branches for the irods backend.
otherwise the test would complain about missing config parameters.