unit tests implemented for binarydownloader