Test: Update tests for python3 compatibility
utils: Add single_test.py
Fix sigsegv in python3 bindings