added test for new endpoint