Fix a bug always connecting to the default end point in dynamodb2's DynamoDBConnecting
Added tests for the dynamodb2 region fix.