Tests for multiple invokation of CEREAL_REGISTER_TYPE; some fixes for xml archive and tests; cleanup