adding a new (failing) test to check for extension object encoding
fixing the handling of extension object, relates to #141
Merge pull request #144 from acplt/extension_object

Extension object