chans: support go 1 + 1.1

The testing.TB interface of common methods between testing.T and
testing.B doesn’t exist for versions of go older than 1.2

Since there are no benchmarks (yet), and I want to maintain backwards
compatibility as much as possible for now, only accept testing.T’s for
the newPublisher test helper function.