parse tree creation from scratch + JUnit test case