test OC API and file