Add test for @kwmsmith's "strange behavior".

Seems to pass for me though...