Bug fixes for negative tests to work correctly
Also removed old bash test scripts