Add test for REAL_OPTLAY error.