TMSS-138: and TMSS-142: manually copied in the test_utils.py file from branch...
TMSS-138: and TMSS-142: manually copied in the test_utils.py file from branch TMSS-142 so we can use the improved test setup. Added the test-user as superuser by default, so all 'normal' tests are not hindered by permissions