Fixed issues associated with nested parsing test. Yay. Now to do some refactoring for C++11 good practice (i.e. unique_ptr/shared_ptr, etc)