add exposeGetExpression to karma testing