in my school, graduate students are referred to as graduate research assistants on our payroll, so maybe you can just say you were a "research assistant" for two years? This is definitely NOT lying, but i don't know if it's politically correct or not, anyone here knows?
btw, nobody has to know that you took the qualify twice, right?