Added tests for class Position and class MessageHandler