Added 2 additional tests for MassToFormulaTool and
MolecularFormulaGenerator
Minor code cleanup