Add lexical scoping test