simplify JSON testing and new tests
sessions are fully JSONified