container: add test for name set from options