Unit tests

Hi,

We did our best to implement some unit tests, according to your advice. We focused on the DownloadService class, but we also developped some tests on layout activities, and functionalities such as the comparotor. We met some difficulties to create unit tests because the application context, which is hard to instantiate for unit tests, is used by a lot of classes. Nevertheless we are happy to give you a little production. And we hope it will be useful to your project, it could help you to facilitate your future test development. Anyway it was a good experience for us. Thank you to let us contribute to your project.

If you have some feed back we would be glad to consider your suggestions.

Best regards,
Thomas Buissart
Thomas Durieux
Antoine Engelaere
Quentin Marrecau