Missing variable throws UnboundLocalError instead of Exception.
Checks that malformed expression throw exceptions.
Added parsing and tokenization methods.