Added a new test. Updated getPrice to account for httperrors