Automate tests when scaffolding