added toString functions and additional layer of elements on parsing test.