Misc regression tests

Handful of regression tests to close long since fixed issues.

YamlTester only checked the contents of `- warnings` if there was no output or no expected output. Also check them if there was expected output.

Remove test-bit_not.yaml, which was for a function that never existed.