replaced atoi with strol \nhttp response tests added