Created MessageResourceTest for testing MessageResource