added test class for flickr