added checks on error and response status code for smoke tests to make them easier to follow in logs