add container#reset useful in tests
Merge pull request #1783 from tchak/container-reset

add container#reset useful in tests