Refactor convert
Add recursive call to convert with "" as the base case
Add IV case and consolidate II and III cases
Generalise test cases