Please add a warning if test useflag is in RDEPEND. I can't think of a valid reason for this.
There's a patch for this by Markus Meier <maekke@gentoo.org> in svn r13724.
This is fixed in 2.2_rc34.
*** Bug 286320 has been marked as a duplicate of this bug. ***
This is fixed in 2.1.7.