using containers instead of low level API in functional tests

--HG--
branch : develop