Fix test to use member data.
Add loadcsv method.