finished unit tests for imageLoader