diff --git a/test/src/OntoTest.java b/test/src/OntoTest.java
index d424376e49cf10804078efb68ad6204cb26061e4..3398ac5c0ca6c771907598bb09e2aa1746531cae 100644
--- a/test/src/OntoTest.java
+++ b/test/src/OntoTest.java
@@ -99,6 +99,19 @@ public class OntoTest {
 	assertEquals( onto.getOntology(), "MyBeautifulOntology" );
     }
 
+    @Test(groups = { "full", "onto", "raw" }, dependsOnMethods = {"basicTest"})
+    public void basicServiceTest() throws Exception {
+	BasicOntology<String> onto = new BasicOntology<String>();
+	assertNotNull( onto );
+	assertEquals( onto.getFragmentAsLabel( new URI("http://example.com/#123" ) ), "123" );
+	assertEquals( onto.getFragmentAsLabel( new URI("http://example.com#123" ) ), "123" );
+	assertEquals( onto.getFragmentAsLabel( new URI("http://example.com/aaaa#123" ) ), "123" );
+	assertEquals( onto.getFragmentAsLabel( new URI("http://example.com/aaaa/#123" ) ), "123" );
+	assertEquals( onto.getFragmentAsLabel( new URI("http://example.com/aaaa/123" ) ), "123" );
+	assertEquals( onto.getFragmentAsLabel( new URI("http://example.com/aaaa/123/" ) ), "123" );
+	assertEquals( onto.getFragmentAsLabel( new URI("http://example.com/aaaa/123/#" ) ), "" );
+    }
+
     @Test(groups = { "full", "onto", "raw" }, dependsOnMethods = {"basicTest"})
     public void loadedTest() throws Exception {
 	// load ontologies