Add tests for document base URL