Make all tail node test writres are sync
add consistent timeouts to tail file write tests
Tidy up tail node tests
Make more effort to stringify sensibly when storing in redis.