Added test cases for parser and resolver. Using ROOT query example.
Fixed some minor issues after debugging using it