Test some debug functions. No asserts, just check they run ok.