attach: Write Gemini tests

Close #613