fixed bug in container -- now test_container seems to pass