added JSON test stuff