Add waitcondition on test environments

This will ensure errors during the test environment creation process
are correctly represented in the final heat stack status.

Change-Id: Ib5fcb3e59de5b838b22bbf720fed947401ca955b