Fixed #23863 -- Made runtests accept the keepdb option.

refs #20550
FWIW, I would add this to `internals/contributing/writing-code/unit-tests.txt` but not in the release notes as most users don't care about running tests.