Remove unused future import from cursor_test.
Add tool_test to ensure Python3.x compat.