FactoryMedia code tests