Add nosetests for mass frac_type