bug fix trying to add/change an image to tweet.added test for that
added test to application controller