swapped arguments in is_convertible function and changed digits to digits10
adding test file