don't install workloadsummary unless it is test mode
Merge pull request #4954 from ticoann/workloadsummary_install_fix

don't install workloadsummary unless it is test mode