I added a patch that unhardcodes calls to xrandr and fixes calls to nosetests. I also added xvfb-run because the tests need to run with an X server.