add testing for DynamoDB implementation