Add test for smartindent and expand_cr.