I added a test for this in ff3909a8a4