Add tests for the api-proxy

MIL-544