Fix issue with unit tests for Xcrysden