fix a bug in context when get invalid variable in strict mode
add more test