Minor cleanup
Fix python3 incompatibility in table test