added test for messagable trait