add makefile to run test
set messageTypes as Message class property
refactor, fix, add test