added a test
added test of appending and poping
rewording
make json support result2
added json test