Adapt test_alternative_config.py to new configuration file.

Test was also made more portable and more robust.

Polishing test_shopping.py.