finalize deserialization
add mergetag tests