tests to check metrics called and token used

added for each end point