test for http://dartbug.com/10573