add setting to enable/disable lazy building of assets

enable it by default for tests as we need lazy assets there