test(style): indent code and review some minor typo in many test files

4 jobs for dev in 11 minutes and 50 seconds (queued for 10 minutes and 38 seconds)
Status Name Job ID Coverage
  Build
passed build_patched #147196

00:00:25

 
  Regression
passed regression_patched #147197

00:01:00

 
  Tests
passed check_as_cran_patched #147199

00:02:01

passed check_not_cran_patched #147198

00:08:23