[mit] Fix ocw tests
Credit @amlweems for ocw.mit (#2460)