xmlCheck using the righ directory for .test

This fixes #617 

Note that some XML checking errors will remain after merging this in develop (eg. the ones related with scopeValue), that will be fixed in others PRs.