modifications to Message class;moved CharacterTest to shared