Increase mocha timeout to give more time to remote input tests
Remove mocha global timeout in favor of test-specific timeouts
Fix calculation errors not being returned
Use logger in all tests
Log metadata errors when doing processing tests
Propagate preparation errors
Fix wrong process end handling