This actually works as is on master (5.0). I pulled Daniel Gredler's test over to master and it passes, no modifications needed.
Gail Badner Is this something you'd like in 4.3?