[task] updated test for new endpoints setter