Added unit test for options -> q.options fix