Fix StrBeforeTest
Fix QueryEvaluationUtil.isStringLiteral