Change buildpack tests to wait for CF exit before testing status and output.

Signed-off-by: Michael Fraenkel <fraenkel@us.ibm.com>