fix hoist test
undefined identifier
include node in thrown error
fix block scope handling on for loop
switch statement support

closes #20