added tests for mfrac