Fix broken profile API test