Corrected unit tests

The redirect_endpoint_uri is required now