added tests for authenticating the requests
[#1]