Updating the filter by term behat test.

Relate to issue #2443