tests done for query params for get /moments - now to code the method.