Test content_for functionality in layout. Refs #1900