Add OCL context stub, test, fix leak