Improve testing reliability

This is addressing #603

The old syntax was never actually entering the while loop to wait for containers to run.  Fixed that up, and now the test waits for each container in pod to report its in a running state prior to attempting a curl.  This requires #692 to get merged in order to fix the docker container information not getting returned by kubecfg.

Add a trap to ensure cleanup of test artifacts.
curious if you have a reason to switch from [ to [[, or if that is just what your fingers are used to.