unit test for container exec().