Add run_tests.sh script and change method in test_molecule