unittest fix proposal

@mvantellingen, please consider this PR or a better solution for unittests to pass.
It's tricky because unittests pass by reading ~/.localshop/localshop.conf.py

Thanks,