added shortucts for xhr request; test for added code
Merge pull request #79 from kharandziuk/master

added shortucts for xhr request; test for added code