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

refs #20550
preserves