Add some test case for gmi