Unit tests for image loader library