Fixes for dock tests. Still have one failing test for runEarthQuakeGuidelinesFunction