support for switch, var declarations, this, null, array lit, and tests