Some tests of go functions