Add test for #480 (fixed with #503)