Fix failing test case

OTP-9881