Making changes to allow for mac formatting

The SP500 cdv file is mac formatted so the native csv package has
trouble reading it. Added some functionality to workaround this issue.
Updating tests
Updating tests