added more checks at twitter consumer to be more robust
test case for twitter consumer added