Fix a few bugs & silence warnings; update test runners