Data science up for first round of review

1) Focus on rspec tests 
2) Stuck at trying to refactor the exception part
Space missing after comma.<br>Space missing to the left of {.<br>Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.