Testing snap with a user-made xml