Tests for generating sample data
Added lines for mac