added RestTemplate tests, so can use same in Job for accessing Web App/database