Making sure we are giving back helpful error messages when things go wrong, starting to look at unit testing