testaddmedia with logging input boxes