Fix ordering bug in go_api tests.