Various fixes

checking for Azure module version, XML tests.