Data science up for first round of review

1) Focus on rspec tests 
2) Stuck at trying to refactor the exception part
Block body expression is on the same line as the block start.