Tom/Eduardo - allowing for repeated definition of the same instance with instance_name parameter.
Tom/Eduardo - tidy up of this test case