Added test for SubjectQuery.query | <Ajay>