This fixes the test asserting that running rake test after creating
a scaffold passes successfully. The test was silently failing before,
due to the assertion that was matching against unit tests results
instead of the functional ones.
It also adds the same test to ensure running rake test works fine
after creating a scaffold when app is configured as http.
Fix scaffold controller template, ensure rake scaffold test pass by d…