Run extension installation generator during rake test_app.

Fixes #2741