Made some changes to how the .yaml file is found and to how the database_test.py module counts files.