Move function
Reformat and add test for returning a CSV string