scope test correction : order of default scope cannot be determined
add dynamodb test
Correct dynamodb test issues