Upgrade to Junit 4.
Switch over to using the gradle wrapper (version 1.6 of gradle).
Added some tests for messages.