Experimental Python 3 support.
Add test case.