Fix a couple warnings in test code. Both were unlikely to cause
visible bugs, but it is a bit cleaner now.
Add a test to cover the bug that was fixed recently where bool in
memory is a byte, but a bool vector inside llvm is bitpacked so
loading 8 bools would load a byte, not 8-bytes, if vectorized.