bugfix: potential access of unitialized valued

regression to recent change, not in any official release
testbench: fix some (mostly) cosmetic compiler warnings