some tests for json parser