Add Twitter log in test. Improve code coverage up to 48%.