added some more tests, fix minor issues with runtests2.sh

* TODO figure out why flex is case insensitive, it should be REALLY case sensitive
some more tests that fail or fail for the wrong reasons

* also, cosmetic improvements in runtests2.sh