add basic JSON api tests