image: Write Gemini tests

Close #618