Fixed checkForDuplicates to properly handle when there is no image with the image_id provided.
Added basic django tests for the app's celery task.