Testing Token in Endpoints Resource