Adding regression test for Nate Glenn's bug