test nesting & closing for markup