Json tests with lists