Updated test to check multiple services of the agent are up.
Due to how docker works on some test systems, The agent service may start, but return a non-zero RC. This will fail the script during test runs, so added a threatstack_test_mode flag to allow us to skip the check during testing.
threatstack_test_mode
flag to allow us to skip the check during testing.