More tests for LoadingConfiguration, and fix a bug

Testing, testing!

Signed-off-by: Francis Galiegue <fgaliegue@gmail.com>