WIP: add integration test for build