Factor out functional markup test.