tests for serializing containers as root