agarza added test case for endpoint solution