add tests for message profile