Add test cases for greenlet