Removed unused $options variables

They are never called in the test, and it still returns green
Merge pull request #6535 from Sjoekoe/patch-1

Removed unused $options variables
Merge branch '4.2'