added tests for the scope functionality in the default server