Testing NSURLRequest with Swift