change fields to consts
add TestToMessage