Set mpl backend in examples when running tests.