test: add global api spec