Adding acceptance tests first makes refactoring safer.

Continue reading: Testing Legacy Shiny Apps: Start with Behavior, Not …