added test of JSONable