fix indent
move the special to_xml serialization up to the video_module
improve the test by better simulating the actual bug - creating a new video module and then exporting