test for rootless cycle case of layout