Add test documenting issue #473

Actually fixing it will be much harder, but I don't want to lose track of this issue.