added tests for api (hosts, containers)