Required a credentials argument, optional settings
Change tests to send credentials