adds tests
catch errors from esprima
option to throw
0.1.2