set source to error during any step of bundleJS; tests