Testing tube resources against flat json