convert tests to JUnit.
Begin adapter for gson-serializing any serializable.
Add example configuration to ease testing.
Minor fix in Msgs.

(Make Msg identifier public.)