Update tests to use xtext based metadata.json validation