Test case for #6912. Bugfix on requirements parsing.

Fixes #6912, or better proves that it's not happening.