fix test endpoint that had broken