Fix test endpoint