writemediacfg command; add media.cfg to the test map