Tests for scripts in the scripts/dbm folder

Simple tests for the scripts that wasn't tested inside the dbm folder (dbm_metrics.py is already tested).