Add tests for select an image source