Use connection local to tests to prevent race conditions.

Signed-off-by: Mike Gehard <mgehard@pivotallabs.com>