Switch to Chrome Headless for Testing and add Variable Status Codes
This update adds a new feature: an array of status codes in the mock response.
It also updates the entire test suite to using Chrome Headless for the automated tests rather than PhantomJS since it has been deprecated.