Moved DI tests not relying on file fixtures to a separate class

Thsi avoids running them twice (for XML and Yaml) while they don't depend
on the format.
Removed left-over configuration

The global shard settings are configured through the normal connection
settings.
Refs #215