Converting DrupalMessageTest to a unit test.