Avoid a `can't convert nil into Float` exception (during test)