THRIFT-2796: Move test case to lib/go/test. Added ASF License header.