udpated twitter library to address issue #89, and added tests