TEST(ExtWrapper, ValidateURL_useast1) {
    S3ExtBase *myData;
    myData = new S3Reader(
        "s3://s3-us-east-1.amazonaws.com/s3test.pivotal.io/dataset1/normal");

    ASSERT_TRUE(myData->ValidateURL());
    EXPECT_STREQ("external-1", myData->get_region().c_str());

    delete myData;
}
TEST(ExtWrapper, ValidateURL_apnortheast21) {
    S3ExtBase *myData;
    myData = new S3Reader(
        "s3://s3-ap-northeast-2.amazonaws.com/s3test.pivotal.io/dataset1/"
        "normal");

    ASSERT_TRUE(myData->ValidateURL());
    EXPECT_STREQ("ap-northeast-2", myData->get_region().c_str());

    delete myData;
}