use absolute imports in tests so they can be run standalone
fix generate_from_supported_objects string array handling for python 3