Fixes unit tests

Corrects some problems with output buffering stealing output during execution of tests
Corrects some issues with long running tests due to reading all files in vendor directory