Added more tests for chemical formulas