Adding error catching test and empty default body test