Fleshed out integration tests

Signed-off-by: Abhijit Hiremagalur <abhi@pivotallabs.com>