In previous work, we've created a tests util file that is a wrapper for the REST API call, and contains the timeout in a central location as well.