Test mapping a csv to json.
Add dependency to mock for testing.