Make bundle work in test env