Added tests for --wrapper-template

cfr rubygems/rubygems#898