Handle background: false in karma config