Unit integration test support

Please take a look.
@bjoernhaeuser @dfreudenberger @omares