Testing strange behaviour of buffered channels in Go