make unit test better

it seems on jenkins the unit test was picking up the
config from MetridocConfig.groovy by accident.
added som checks to make sure this is no longer
happening