Added test based on RestTemplate.getForObject