As part of the issue #251 (closed) the next endpoints have been modified and tests have been added consequently