Tests and fixes for FragmentedMessage