added test for test endpoint