WIP: integration test