Added some tests for atoms and valences