Changed some tests. bugid:110323
Added "X-Requested-With" header before sending http request. bugid:110323