added long_type to decoder test helper