add a setWithJson test