Sorry, I thought it was a if-elif construct.

Then you should use `cdef char test1, test2` for improved speed.