Finish converter and add test to converter function.