tests to infer size from container