MARMOTTA-440: fixed wrong base path on a test
MARMOTTA-440: refacotrized test
MARMOTTA-440: trying to fix test shutdown