Test for #285

Would hate to have #285 reopen, how long before this gets merged into rubygems? Please? :-/