Unpacker's ext_hook fixed + tests

Fixed an issue when passing ext_hook to cython version of Unpacker was causing crashes.