fixed bug with passing SW_HIDE to ProcessComponent::ExecCmd and added unit test accordingly

Every single method in this class starts with `testBlaBlaBla`. Can you please rename this one? Thx.