testing: add naive implementation for commitContainer

Also including skel for inspectContainer.