Test for pull request #471

Pull request #471 causes the existing-executable check to behave
correctly when gems are installed with --format-executable, but lacks a
test.
Updated history for #471