test code for run_ocs_test