testing on Message class