Add more logging to failing tests
Remove mocha global timeout in favor of test-specific timeouts
Fix wrong process end handling