added tests for i-api-request