FELIX-2955 Small bugfix to the test, it still failed because I forgot to do a bit of cleanup halfway through the testcase.