[WIP] Add integration test

@manygrams
So this test doesn't get run yet?