docs and test of twitter source