Replace custom rake test task with template.

* This simplifies load path for gem/test_helper.