do not use mozilla specific extensions in operator variant helper. removed unused variable in battery manager test.