todo8: create a test for a method that turns elements of the array into a numbered list of strings