Added JSON tests using the Spring-test framework