Added helper method for generating test layouts to cell spec.