removing isDownloadType() method from DownloadObserver
fixing tests and removing checkNotNull from observer