[api] some testing for addrequest