added test for preformatted