quick fix for go 1.0.3 compatibility

added an example as well - but its a poor test since it can produce either 3 or 4 lines of output depending on when it starts.