Add test for #757

This checks the exception message and behavior for uninstalling gems
outside their home directories.
Add #757 to History