Implement createContainer and test