have you thought making a `samples.py` file and putting all these long XML things in there? you will re-use them, if you don't the test will about 90% cleaner.