Reorganized some markdown tests.
Added test for issue #1330.