add nested if-statement test code
fix NullPointerException at GtVarDeclNode.<init> (close #11)