arrrggghhhhh fixed!
Switched off unit test X because the build had to go out now and there was no time to fix it properly.