fixed a few tests that were causing test suite to exit due to fatal errors