Fixed some issues.
Remember that when you copy the URL from the test script and paste it in another browser's tab, the called service will load the default database, which means that you will waist a while figuring out that it is not looking in the right direction...