xmlsnippets: Build and run tests