Added tests for fmdhr, fmdlr, fmrdh and fmrdl