Fixed bug with display/hide legend checkbox not working correctly
Added tests for model_run_service