Update backend test to match new exception