Use of request library
Fixed unit tests