Added (rather coarse) energy test to test_molecule.