message equality check function added
router tests