Add tests for scaffolding-append and scaffolding-replace.