fixed test classes, added skeletons for messagehandler