remove namespaces
api methdod with test
define api url as global
mock variable "wgFetchBlobApiURL" for tests