Add test for LoadImage