Fix surface test: appendContent does not insert wrappers any more.