[BUG #8768] Remove rhino exceptional cases in test file