Test for Molecule in Ruby