Removing api endpoints that don't exists. Updating tests accordingly