root2matplotlib: fix backend in unit tests