Add test module from oslo-incubator

This code was pulled from oslo-incubator at commit
73bd293303e2360a3ea0d0e4d4af1618eb15d96e.

Change-Id: I73440b916f61f32c5c2b1e6d3552966d015b2075
Merge "Add test module from oslo-incubator"