added test for timelinegap, extracted an interface for requesting tweets