root2matplotlib: unit tests