added message constructor tests