refactor the issuers call to return the issuers data
needed to update the test key
add spec for error response.