improve integration tests

Signed-off-by: Dmitriy Kalinin <dmitriy@pivotallabs.com>