Added Angular tests for MessagesController. Relates to #5