@@ -0,0 +1,864 @@
+package com.ibm.stocator.fs.cos.unittests;%0A%0Aimport java.io.IOException;%0A%0Aimport org.junit.Test;%0A%0Aimport com.ibm.stocator.fs.common.Utils;%0A%0Aimport junit.framework.Assert;%0A%0Apublic class COSURITest %7B%0A%0A  @Test%0A  public void standardBucketNameAndServiceTest() throws IOException %7B%0A    String hostname = %22aa-bb-cc.service%22;%0A    String service = Utils.getServiceName(hostname);%0A    Assert.assertEquals(%22service%22, service);%0A  %7D%0A%0A  @Test%0A  public void bucketNameWithDotsAndServiceTest() throws IOException %7B%0A    String hostname = %22aa.bb.cc.service%22;%0A    String service = Utils.getServiceName(hostname);%0A    Assert.assertEquals(%22service%22, service);%0A  %7D%0A%0A  @Test%0A  public void bucketNameWithDotsAndNoServiceTest() throws IOException %7B%0A    String hostname = %22aa.bb.cc%22;%0A    String service = Utils.getServiceName(hostname);%0A    Assert.assertNotSame(%22service%22, service);%0A  %7D%0A%0A%7D%0A

add tests for dot in bucket names issue - #154