import static play.test.Helpers.HTMLUNIT;
import static play.test.Helpers.fakeApplication;
import static play.test.Helpers.inMemoryDatabase;
import static play.test.Helpers.running;
import static play.test.Helpers.testServer;

import org.junit.Test;

import play.libs.F.Callback;
import play.test.TestBrowser;

/**
 * @author Raul Vasi
 *
 */
public class IntegrationTest {

    /**
     * add your integration test here in this example we just check if the
     * welcome page is being shown
     */
    @Test
    public void test() {
	running(testServer(3333, fakeApplication(inMemoryDatabase())), HTMLUNIT, new Callback<TestBrowser>() {
	    public void invoke(TestBrowser browser) {
		browser.goTo(
			"http://localhost:9000/tools/ebookey/?url=http://www.tutorialspoint.com/java/java_string_substring.htm");

	    }
	});
    }

}

@@ -524,16 +524,29 @@
 oid test
+_whitoutMetas
 () %7B%0A%09ru
@@ -762,64 +762,512 @@
 http
+s
 ://www.
-tutorialspoint.com/java/java_string_substring.htm
+jvrb.org/past-issues/11.2014/4075/fulltext/fedoraxml_body%22);%0A%0A%09    %7D%0A%09%7D);%0A    %7D%0A%0A    @Test%0A    public void test_whitMetas() %7B%0A%09running(testServer(3333, fakeApplication(inMemoryDatabase())), HTMLUNIT, new Callback%3CTestBrowser%3E() %7B%0A%09    public void invoke(TestBrowser browser) %7B%0A%09%09browser.goTo(%0A%09%09%09%22http://localhost:9000/tools/ebookey/?url=https://www.jvrb.org/past-issues/11.2014/4075/fulltext/fedoraxml_body,%22%0A%09%09%09%09+ %22?url=https://alkyoneus.hbz-nrw.de/dev/jahrgang-2015/ausgabe-1/2295/metadata/xml
 %22);%0A
@@ -1285,11 +1285,10 @@
 ;%0A    %7D%0A
-%0A
 %7D%0A

Fix Integration Test