debugging helpers
test program