gmc automation test code