Added screenshots on fail, and fixed a test which poisons other tests