[core] tests: also test messages