Add a method to get all the consents.
Add unit test DynamoUserConsentTest.