see: https://stackoverflow.com/questions/61463224/when-to-use-raise-for-status-vs-status-code-testing