xmlCheck using the right 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.