Music service data structure tests

This is the first batch of unit tests for the data structures. The second batch might not be until after further improvements to the data structures, as there is still room for improvement there.
The show_xml function is just a convenience method that I seem to use all the time during development, so I thought it would go ok into the utils module.