Test case for PRE formatted text

These next three sections should be spaced identical: there should be a blank line before the preformatted text and a blank line after the pre-formatted text, but no other blank lines.
Before

    Preformatted text, no newlines inside

After
Before

    Preformatted text, one newline after open-pre tag

After
Before

    Preformatted text, one newline after open-pre tag and before close tag

After

    Make sure newlines are preserved: one
    Make sure newlines are preserved: two

    Make sure newlines are preserved: three

    End of this section

These next set of lines should be lined up neatly

    x       x       x       x       x       x       x       x       x       end
    X	X	X	X	X	X	X	X	X	end
    X	x       X	x       x       X	X	x       x       end

Make sure whitespace is preserved:

         Five blanks
        Four blanks
       Three blanks
      Two blanks
     Blank
    None!