Adds tests for writeMessage().
Updates README file with latest status.