Added to_s before split, was getting test errors: no split() on nilClass