cgo: added simple test program