Instead of closing the sqlite database connection, tell GORM to close the connection. Only that properly closes the DB, so that testing with a file on disk doesn't fail when trying to delete that file. No functional changes to the Manager itself.
internal/tools/tools.go