Fix up dev tests runner to properly handle the postgres databases.