Stage 2 was finished

Added test functionality for NSURLSession