Steal some testing plumbing from www.mcdermottroe.com