added unit tests; added functions for verifying files and modifying
reference database