Testing item json in tests