adding bundle building logic for last integration test added