added JSON tests