Fixed problems with importing sample data. Added test for sample data import. Closes #7