clean up scaffold generated controller code
Set up for testing with minitest